event_inherited();
character_vsp = actor_vsp;
character_hsp = actor_vsp;
character_name = argument[0]
character_walksp = argument[1];
character_sprintsp = argument[2];
character_jumpsp = argument[3];
character_hp[0] = argument[4];
character_hp[1] = argument[4];
character_jumpstotal = 1;
character_jumps = 0;
character_walk = false;
character_jump = false;
character_sprint = false;
character_attack = false;
character_crouch = false;
character_use_item = false;
character_talk = false;
character_talking_to = -4;
character_climb = false;
character_climbdir = 0;
character_stunned = false;
character_bumped = false;
character_bumpedid = -1;
character_canbebumped = false;
character_dead = false;
character_direction = 1;
character_havejumped = -1;
character_havewalked = false;
character_haveattacked = false;
character_onground = false;
character_stuck = false;
character_deadly = false;
character_onscreen = (x > view_xview) and (x < view_xview+view_wview) and (y > view_yview) and (y < view_yview+view_hview);
character_weapon = 0;
character_item_equipped = -1;
character_item_counter = 0;
character_warping = false;
character_id = argument[5];
character_sprite_init(character_id);
